#ifndef MAXHEAP_HPP
#define MAXHEAP_HPP
typedef struct HeapStruct *MaxHeap;
const int MaxData = 1000;
struct HeapStruct
{
    int *Element; //存储堆元素的数组
    int Size;     //堆的当前元素个数
    int Capacity; //堆的最大容量
};
MaxHeap Create(int MaxSize);
void Insert(MaxHeap H, int item);
int DeleteMax(MaxHeap H);
bool IsFull(MaxHeap H);
bool IsEmpty(MaxHeap H);


#endif